#!/bin/bash

 Valittavat=('man intro - a tutorial that gets you started with Linux if you have never used it.' 'man syscalls - lists all Linux system calls by kernel version.' 'man select_tut - select() system call tutorial.' 'man string - lists all <string.h> string manipulation functions.' 'man stdio - lists and describes all <stdio.h> standard input/output library functions.' 'man errno - lists and describes all errno error numbers.' 'man console_codes - Linux console escape and control sequences.' 'man full - /dev/full - a device that simulates a full device.' 'man proc - lots of info about the /proc filesystem.' 'man filesystems - lists various Linux filesystems.' 'man bootparam - a tutorial and reference of Linux kernel boot parameters.' 'man charsets - a Linux programmers view of character sets and internationalization.' 'man glob - how pathname globbing works.' 'man hier - description of the Linux file system hierarchy.' 'man operator - C language operator precedence and associativity table.' 'man regex - basic and extended regular expression overview.' 'man suffixes - lists common Linux file suffixes and the associated file types.' 'man time - overview of time and timers.' 'man units - kilo, kibi, mega, mebi, giga, gibi, ... - decimal (SI) and binary system of units.' 'man utf8 - description of UTF-8 encoding.' 'man url - description of URIs, URLs and URNs.' )
ValitseValittavistaYksi "valitse minkä ohjeen haluat lukea"
man $(echo $ValitunTeksti | awk '{print $2}') > delme;gedit delme; rm delme 

